package com.lwj.liwanjia.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/10/11.
 */

public class DpSpBean {

    /**
     * state : 1
     * message : null
     * data : [{"commodityCode":"8","commodityName":"男上T恤2","commodityInfo":"男上夏季服饰 精品服装","upSellTime":"2017-10-11","commodityPrice":"50","nowPrice":"45","stock":21,"salesVolume":20,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":0,"seckill":0,"newGoods":0,"commodityBelong":""},{"commodityCode":"9","commodityName":"男上T恤3","commodityInfo":"男上夏季服饰 精品服装","upSellTime":"2017-10-11","commodityPrice":"60","nowPrice":"55","stock":24,"salesVolume":40,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":0,"seckill":0,"newGoods":0,"commodityBelong":""},{"commodityCode":"1","commodityName":"男上T恤","commodityInfo":"男上夏季服饰 精品服装","upSellTime":"2017-10-11","commodityPrice":"55.00","nowPrice":"50","stock":1000,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"2","commodityName":"食品","commodityInfo":"精美食品 好吃你就多吃点","upSellTime":"2017-10-11","commodityPrice":"45.00","nowPrice":"40","stock":1000,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"3","commodityName":"日常用品","commodityInfo":"日常用品 日常使用","upSellTime":"2017-10-11","commodityPrice":"80.00","nowPrice":"75","stock":1000,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"4","commodityName":"家用电器","commodityInfo":"家用电器 坚固耐用","upSellTime":"2017-10-11","commodityPrice":"33.00","nowPrice":"30","stock":500,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"5","commodityName":"日化洗护","commodityInfo":"日化洗护 洗洗洗","upSellTime":"2017-10-11","commodityPrice":"60.00","nowPrice":"50","stock":200,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"6","commodityName":"母婴玩具","commodityInfo":"母婴玩具 贴心选择","upSellTime":"2017-10-11","commodityPrice":"50.00","nowPrice":"49.99","stock":100,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"7","commodityName":"电子数码","commodityInfo":"电子数码 高科技","upSellTime":"2017-10-11","commodityPrice":"102.00","nowPrice":"102.00","stock":23,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"78","commodityName":"休闲零食","commodityInfo":"休闲零食 休闲零食","upSellTime":"2017-10-11","commodityPrice":"12.00","nowPrice":"10.00","stock":25,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"79","commodityName":"酒水饮料","commodityInfo":"酒水饮料 酒水饮料","upSellTime":"2017-10-11","commodityPrice":"55.00","nowPrice":"54.00","stock":25,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"80","commodityName":"进口食品","commodityInfo":"进口食品 进口食品","upSellTime":"2017-10-11","commodityPrice":"78.00","nowPrice":"72.00","stock":25,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"},{"commodityCode":"81","commodityName":"粮油生鲜","commodityInfo":"粮油生鲜 粮油生鲜","upSellTime":"2017-10-11","commodityPrice":"45.00","nowPrice":"43.00","stock":25,"salesVolume":100,"modeOfDistribution":"立马送;安心快递;第三方快递","imageUrl":"http://101.132.69.99/images/1.jpg","commodityType":"商城","promotion":1,"seckill":1,"newGoods":1,"commodityBelong":"促销"}]
     */

    private int state;
    private Object message;
    private List<DataBean> data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commodityCode : 8
         * commodityName : 男上T恤2
         * commodityInfo : 男上夏季服饰 精品服装
         * upSellTime : 2017-10-11
         * commodityPrice : 50
         * nowPrice : 45
         * stock : 21
         * salesVolume : 20
         * modeOfDistribution : 立马送;安心快递;第三方快递
         * imageUrl : http://101.132.69.99/images/1.jpg
         * commodityType : 商城
         * promotion : 0
         * seckill : 0
         * newGoods : 0
         * commodityBelong :
         */

        private String commodityCode;
        private String commodityName;
        private String commodityInfo;
        private String upSellTime;
        private String commodityPrice;
        private String nowPrice;
        private int stock;
        private int salesVolume;
        private String modeOfDistribution;
        private String imageUrl;
        private String commodityType;
        private int promotion;
        private int seckill;
        private int newGoods;
        private String commodityBelong;

        public String getCommodityCode() {
            return commodityCode;
        }

        public void setCommodityCode(String commodityCode) {
            this.commodityCode = commodityCode;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public String getCommodityInfo() {
            return commodityInfo;
        }

        public void setCommodityInfo(String commodityInfo) {
            this.commodityInfo = commodityInfo;
        }

        public String getUpSellTime() {
            return upSellTime;
        }

        public void setUpSellTime(String upSellTime) {
            this.upSellTime = upSellTime;
        }

        public String getCommodityPrice() {
            return commodityPrice;
        }

        public void setCommodityPrice(String commodityPrice) {
            this.commodityPrice = commodityPrice;
        }

        public String getNowPrice() {
            return nowPrice;
        }

        public void setNowPrice(String nowPrice) {
            this.nowPrice = nowPrice;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        public int getSalesVolume() {
            return salesVolume;
        }

        public void setSalesVolume(int salesVolume) {
            this.salesVolume = salesVolume;
        }

        public String getModeOfDistribution() {
            return modeOfDistribution;
        }

        public void setModeOfDistribution(String modeOfDistribution) {
            this.modeOfDistribution = modeOfDistribution;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getCommodityType() {
            return commodityType;
        }

        public void setCommodityType(String commodityType) {
            this.commodityType = commodityType;
        }

        public int getPromotion() {
            return promotion;
        }

        public void setPromotion(int promotion) {
            this.promotion = promotion;
        }

        public int getSeckill() {
            return seckill;
        }

        public void setSeckill(int seckill) {
            this.seckill = seckill;
        }

        public int getNewGoods() {
            return newGoods;
        }

        public void setNewGoods(int newGoods) {
            this.newGoods = newGoods;
        }

        public String getCommodityBelong() {
            return commodityBelong;
        }

        public void setCommodityBelong(String commodityBelong) {
            this.commodityBelong = commodityBelong;
        }
    }
}
